//
// Created by wkm on 2023-12-03.
//

#include "compute.h"

void compute::prc_compute() {
    if (marks.read() < 5)
        grade = fail;
    else if (marks.read() < 7)
        grade = pass;
}